function HandleSignUp(gui, operator, now, options) {
  this._gui = gui;
  this._operator = operator;
  this._now = now;
  this._options = options;
  
  this._createElements();
};

HandleSignUp.prototype._createElements = function() {
  var _self = this;
  this._gui.register.onclick = function() { if (_self._gui.account.value == '') {
                                              window.alert('ACCOUNT CAN NOT BE EMPTY');
                                            } else if (_self._gui.password.value == '') {
                                              window.alert('PASSWORD CAN NOT BE EMPTY');
                                            } else if (_self._gui.confirm.value != _self._gui.password.value) {
                                              window.alert('CONFIRMED PASSWORD IS DIFFERENT');
                                            } else {
//                                              if (NPFileUtils.limitLN(_self._gui.account.value)) {
//                                                window.alert('Only Allow Letters Or Numbers');
//                                              } else 
//                                              if (String(_self._gui.account.value).length < 5 || String(_self._gui.account.value).length > 20) {
//                                                window.alert('Account For 5-20');
//                                              } else {
                                                var customer = Customer.instance();
                                                customer.account = _self._gui.account.value;
                                                customer.password = _self._gui.password.value;
                                                new RequestUtils()._custom('register', { customer: customer }, function(result, params) { if (result) { location.href = '?t=manage&=opts=' + MiscUtils.encode({ d: 0 }); } }, { pos: DOMUtils.findPos(this) });
//                                              }
                                            }
                                          };
  this._gui.back.onclick = function() { history.back(); };
};